<?php
/**
 * Admin首页
 * @author wsfuyibing <websearch@163.com>
 * @date 2013-10-17
 *
 * @link http://admin.example.com/
 */
class SiteController extends AdminController{
	public  $layout = 'index';
	public function init(){
		parent::init();
	}
	public  function actionIndex() {
		// print '$this->getId = '.$this->getId();
		// print '$this->getAction = '.$this->getAction();
		// exit;
			
		
		// $_c = $this->getAction();
		
		// $q = A('request')->getQueryString();
		
		// print_r($_c);
		// var_dump($_c);
		
		// $_r = I('g.r');
		
		// $_request = A('request')->url;
		
		// print '$r = ('.$_r.') & $_request = ('.$_request.')';
		// exit;
		
		//$this->redirect(H('admin://site/login'));
	
	
		// print '<hr />('.$this->getId().' -> '.$this->administrator['uid'].')'.__CLASS__.'::'.__FUNCTION__;
		$this->render('index');
	}

	public function actionLogin(){
		if (wsc::ispost('adminlogin')){
			
		}

		$this->render('login');
	}
}